STAT 331
What are the aesthetics in this plot?
What geometric object is being plotted?
Univariate (One Variable) Visualizations – For Numerical Data
Is this aesthetic global or local?
binwidthBivariate (Two Variables) Visualizations – For Numerical Data
Side-by-Side Boxplots
Side-by-Side Density Plots (Ridge Plots)
Scatterplots
Faceted Histograms
Which do you prefer?
Multivariate Plots
There are two main methods for adding a third (or fourth) variable into a data visualization:
Colors
Facets
Self contained
Flag where R should look for files
Allow for us to easily use here() to find files
Should be how you work in RStudio every time
here() to read in your data?Working in R? Rendering a document? here() uses the same path to load in data!
Never set a relative / full path or change your working directory!!!
setwd("/Users/atheobol/Documents/Teaching/Stat 331/stat-331-allison")
Need to share your materials? Share your RProject!